import { PhasedTaskApiService } from 'src/app/api/phased-task-api.service';
import { PeriodTaskApiService } from 'src/app/api/period-task-api.service';
import { TaskApiService } from './../../api/task-api.service';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { OverviewRoutingModule } from './overview-routing.module';
import { TodayComponent } from './today/today.component';
import { WeeklyComponent } from './weekly/weekly.component';
import { MonthComponent } from './month/month.component';
import { DailyComponent } from './daily/daily.component';

import { NzGridModule } from 'ng-zorro-antd/grid';
import { NzStatisticModule } from 'ng-zorro-antd/statistic';
import { NzCardModule } from 'ng-zorro-antd/card';
import { NzListModule } from 'ng-zorro-antd/list';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzEmptyModule } from 'ng-zorro-antd/empty';
import { NzToolTipModule } from 'ng-zorro-antd/tooltip';

import { OverviewTaskListComponent } from './overview-task-list/overview-task-list.component';



@NgModule({
  declarations: [
    TodayComponent,
    WeeklyComponent,
    MonthComponent,
    DailyComponent,
    OverviewTaskListComponent
  ],
  imports: [
    CommonModule,
    OverviewRoutingModule,
    NzGridModule,
    NzStatisticModule,
    NzCardModule,
    NzListModule,
    NzIconModule,
    NzEmptyModule,
    NzToolTipModule
  ],
  providers: [
    TaskApiService,
    PeriodTaskApiService,
    PhasedTaskApiService
  ]
})
export class OverviewModule { }
